<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <parent>
        <artifactId>hoppinzq</artifactId>
        <groupId>com.hoppinzq</groupId>
        <version>1.0</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>hoppinzq-${modelName}</artifactId>

    <properties>
        <maven.compiler.source>${javaVersion}</maven.compiler.source>
        <maven.compiler.target>${javaVersion}</maven.compiler.target>
    </properties>
    <dependencies>
        <#if onlyClient>
            <#assign dependency = "client">
            <dependency>
                <groupId>com.hoppinzq</groupId>
                <artifactId>hoppinzq-${dependency}</artifactId>
                <version>1.0</version>
            </dependency>
        <#else>
            <dependency>
                <groupId>com.hoppinzq</groupId>
                <artifactId>hoppinzq-service</artifactId>
                <version>1.0</version>
            </dependency>
        </#if>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <executable>true</executable>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>